package ms.shop.entity;

import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Project Name: ms
 * File Name: Attr
 * Package Name: ms.shop.entity
 * Date: 2018/6/4  10:20
 * Copyright (c) 2018, tianyul All Rights Reserved.
 */
@Table(name = "t_attr")
@Data
public class Attr implements Serializable {
    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    private Long classifyId;

    private String keyName;

    private String keyValue;

    private Integer status;

    private Long createTime;

    private Long updateTime;
}
